Could you replace this with ``defined('PHP_WINDOWS_VERSION_BUILD')`` to check for Windows?