Fixed scripts to compile in windows instead of macosx.