fix NFC libs compilation