Install the packages with ensure_packages to get around duplicate definitions errors, fixes #26