bug fix: the release mode needs its own pthread lib