Fixed to work with libnfc-1.7.0 APIs