Add dependency on ptyprocess