jpeg fork for NativeClient