Fix some compiler warnings.