fix openGL compiling (most likely), fixes #146