Fix compilation buffer name code so multiple recompiles don't cause an error