Fixing a couple of build warnings