[cvs-nhc98] Add some more hat-traced libraries (Foreign etc).