Initial version.
Commented out pthreads flags.