Update Makefile

fix `pthread` lib in linux