buildsys: cleanup and add PTY.pm to install files