Update scripts to work with XCode 6.1 on Yosemite with GitHub changes

Hello,

Following upgrading to Yosemite, XCode 6.1 and what appear to be GitHub changes, the build scripts did not work for me. The changes attached resolve my issues, and hopefully can be integrated.

Thanks,

Alex 
I expected that also, and indeed, it does. However, it turns out that line wasn't being called.
I'd ended up with a prebuilt.list that contained a GitHub 404 from the earlier incorrect URL, as a result the grep statement never found an -ios line, and the test was never performed.
More sleep required, clearly!