remove build dir if 'configure' failed in 'mk' command