Try to fix static linking of DCP-o-matic libs with the GL stuff.