made sure there is a build dir