Redo the QTBUG-40585 patch to allow Armory to compile on pre-10.9 OS X.