use ``defined('PHP_WINDOWS_VERSION_BUILD')`` to detect windows. It is better than doing a substring on the os name