Fix linux compile errors.