Updated to use pragma pack on Win32 fixing issues experienced with
C_GetFunctionList returning unusable data

Updated to unload all active PKCS#11 modules on exit