link pthread library for linux