Better detection of libjpeg-turbo