Fixed gallois to support virtualenv.