Fix makerules to include pty.c