improve failure handling

Currently, if Rake breaks, sometimes it exits with 0.
This reports build as passing instead of failing.

This PR makes sure we continue running OSX tests if iOS failed,
and exit with 1.


BTW the commit is from the web, i might have missed something.
Will double check in an hour