fix pkg_resources error on -v