Make example commands runnable from project dir
Port from GLFW 2 to 3