enable pthreads in the CPP compiler, breaks in vagrant otherwise.

We can either pass -pthread to the cpp or disable pthreads with --disable-pthreads in the ./configure; or you can rebase and use the latest phashion which already has this fix.
Merge pull request #1 from mattbailey/patch-1

enable pthreads in the CPP compiler, breaks in vagrant otherwise.