[PD] Compiling externs with gcc/mingw