only rewrite ambiguous functions if the warnings about them are on. For ...

...#428