Added missing includes to manifest.

These are necessary to build Gaffer, so must be included in the dependency package.
Removed unused variables from image libraries.
Clang compatibility fixes.