Fix binary compatibility with old Hive version

relates #194