Restore hack for non-standard perl install paths
Enable use of libjpeg-turbo
Add dependency to libgnutls28-dev