Better build script, now uses bash instead of cmd.