Remove unused folders from build path