Fix linux compile issue with 884b0291