fix build error in linux