Fix TextureManager (include JPEG.h as extern "C") compilation in Android