The build directory needs to be cleaned out for a subsequent rebuild to work in the Darwin app build.