Removed optional flag to jpeg

I've removed the optional flag to jpeg since without jpeg library it fails to build even if configure script figures that the libjpeg is missing and disables import/export with libjpeg.