Added runtime architecture detection
Tests can use PKCS11-LOGGER easily