Need PThreads on debian jessie. Will have to test change on older debians