Assert package version when loading the shared object