Check if we need libjpeg

2 jobs for 40-python3port in 2 minutes and 7 seconds