bscottm's patch 

Fix proposed in:
https://github.com/martinpaljak/OpenSC.tokend/issues/1

This makes post OpenSC-0.13.0pre1 with OpenSC.tokend build without bailing out.