Fixes issue #10 failed builds do not return failed exit code