channels/smartcard: fix build