Fixing an issue with setup.py being run in a different directory than the egg root

Hi,

I recently ran into a problem running the setup.py for this from a different directory. Here's a fix so you can run it from any directory and still have the desired behavior.