corrected bug with build failures hanging