replace package with ensure_package from stdlibx