Fix byte compilation warning

`replace-regexp' used from Lisp code