Added foreign includes from cctools.
Patched make files for standalone compile.
Added missing make files.