Fix compiler warning about unused local typedef
Make it work for big endian
Fix compile problem with gcc but on platforms with no 'pause'
Fix compiler warnings about unused local variable on some plaforms
Fix typo in attrib name that interfered with color space conversion
Add a new include search path for OpenJPEG 1.5.