properly installing libjpeg