fix PYTHONPATH and other xpemnt paths