Various fixes.

Fixed build for FreeBSD/CLang (FreeBSD 9.3-RELEASE/amd64).
Fixed minor errors in source code.
Added PIC check in FindPCHSupport.cmake.
Removed ACE from tools building system.