Fix some compile errors.