Fix compile issue on Linux.