Fixed compile issue on linux