Restore zc.buildout compatibility

In projects installed using zc.buildout the eggs are stored outside
sys.prefix. As pkg_resources (of setuptools) is always used in such
porjects it can be used there to get the path to the installed egg.