[PD] compiling externs on windows