Fixed a glfw build issue with cmake