fixed cmake scripts to find libjpeg.framework