Platform specific pthread inclusion