waf:lib/replace fix gettext detection