fixed compile issue on linux