using glfwCreateThread() for creating thread
update Makefile for linux