fix build issue on linux