fix error on linux: commands commence before first target.