Replace only the first occurrence of /build