Windows compat, fixed PHP-CLI