detect windows platform and launch batch file instead of sh script