Fix a couple of compilation warnings

The subject basically says it all.