Stop install / configure on error.
Fix compatibility with Xcode 5.1