Fix unused function warning w/o changing compiler flags.

We have way too many different build systems.