Fix bug that raises BuildError.  Fix #49