change files to let it compatible with other PN532 library