Enable use inside a virtualenv

Hard-coding the path to the interpreter causes problems when running
inside a virtualenv - eg, if pyyaml is installed inside the virtualenv
but not in the system python, this will give an import error rather than
finding the virtualenv's version of pyyaml