Better error reporting, cleanup when builds fail