Fix #56

This gets the paths correctly set up for python inside a virtualenv. See #56 for all the details.