migrate GLFW3
add debug library
update Makefile