Introduce new typedefs for pthread typedefs in platform agnostic code

Currently the Windows port creates typedefs for pthread typedefs instead of WT using platform agnostic typedefs for its platform agnostic code.