Fixed up a few compiler warnings.