patching batch file to add bin dir if it doesn't exist