do not add -pthread flag on Linux