Make build fail when test or compilation fails