configure: fix sh_quote function