Explicitly include -pthreads flag for cpp compiler

Include -pthreads flags for g++ to enable phashion to install on Ubuntu and probably other linux variants.