fixed build issues with nfc samples