fix build error in Linux platform