Add rebuild-deps build type.