Fix up some compiler warnings.