main: make sure there is an output directory to collect build artifacts