turns out the debug compilation of glfw was causing problems...