Port.h issue with mingw