irrlicht store xcodebuild arguments separately

Also, add a SYMROOT variable to fix audit.
irrlicht generalize fix to other os versions