Fix a couple compile warnings