build script: rearrange build props and mod --cmdline