Make debug macro work correctly
Fix provides to use "8" variant
Use system installed libgif
Use system install libjpeg
Use system libpng
Use system lcms
Remove ecc support
Fix java code to use new library names