Fixed a couple compile warnings