remove typedef
use fatal instead of exit
remove unneeded output from makeflow bundling
only try to remove out_dir once