Fixed library checks; added GLEW check