fixed build-phase error handling

- setup.py failing now stops the build rather than just reporting an
error and skipping merrily ahead