make sure build dir is present