Only link UIAutomation framework when needed
Only allow -acknowledgeSystemAlert in simulator
Merge pull request #520 from joemasilotti/uiautomation-fix

Restore on device testing