Fixing a couple of compilation warnings