Fix PATH setting.