optimized Makefile
ntty pthread support