add installation of libjpeg to configuration script