fix error in linux build