Add pre_build_cmd
Run the command through system instead

Running it with the rest of the scripts means it's run after mkdir_p and
friends are run, which means the environment might not be ok if the
command modifies it -- for instance by mounting a new directory over the
tmp directory.