Fix build dir cleanup