Upgrading to Freebsd 9 Lib, step 3.

A little code for compiling new libc.
Remove unused code in Tools.cpp