added pthread library as cflag
added pthread library as cflag