Fix some minor compiler warnings.