Fix some compiler errors.