Update Makefile

include gthread lib to use in future