Stop building when got errors on OS X.