build dir fix