This is needed in case of `python.buildEnv` to make sure sys.executable does not point to the unwrapped executable.