we generally use ``defined('PHP_WINDOWS_VERSION_MAJOR')`` (or one of the other windows-specific version constants) to detect windows