fix build dir not existing