Ensure existence of directories prior to building