BUILD: Fix Mac OS X static build with libjpeg