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.