Catch the right exception in test_build_failure. All unskipped tests now pass!

...assuming PR #334 is merged.