Fix issue on Windows when PLATFORM_DEFS is not defined.