Add pthreads libraries to project.
Add wallclock timing.