Preparations for dynamic environment mapping

Updated to GLFW 2.7.8