Fix warnings on old compiler.