make sure tests link w/threads lib