Fixed PLAT_WIN being defined on all environments