Build script now fails if synthesis fails. Closes #87.