Fix compile issue in linux