Dead code strip the image-rep bundle on Release.
Use the SDK dir to look for the libxml headers. This will make them use the proper headers on iOS.
Merge branch 'master' into XCode4