ensures build dir is created