switch to glfw
fixed linux compilation