Correcting build errors