Fix JPG import on Mac

NOTE: JPG import now works on the Mac.