Problem with a static bundled library in a package