Build cleanly on modern compiler.