Fixed the base library to be only the minimum files needed by the
compilers
Started bug fixing in win/share
Fixed building for win/share/*
Fixed all in win/tty/*.cc except for termcap.cc