Add build and output directories