Wrapper script: make it compatible with cygwin and windows native php