Build dir fixes.