Merge branch 'master' into withOSXPatches