Use pthreads 1.0.1
Added -s (static) flag to compiler