Fix regression in handling of build errors
Ship 0.4.0