exit compat script on windows OS