Fix path to Python base directory.