Backward ABI compatibility with libjpeg-turbo

+ a build issue discovered with Visual C++ while working on the backward ABI compatibility stuff