separated creation of build directories