Qt4 patches to make it build on 10.9
Update Mac deployment target to make it build on 10.9, apply Qt4 patches