Ensure destination dir exists before building