Fix snake case compiler warning

Since the function in question directly mimics an OpenGL function, I
believe disabling the warning is better than renaming the function.
Changed build to make it work in my own project.

I need to link it statically and I don't really see a way to do it
without hacking the way it's built.