Fix problem with sed replacing the wrong version