add newlib and pdcurses