rename prefix-if to prefixif for compatibility with older bashes