TESTS: Added pthread flag to compiler options