thrift_hsha_test: adds version check before trying to force enable JNA