Fix load path for PTY library