Updated osx includes and paths.
Fixed GL_CHECK for release.