Handle build errors