make make work.

* move "-lfuse" from prerequisites into linking options
* prefer "-pthread" to "-lpthread"
* put "-pthread" in both compiling and linking options