Correcting jenkins build errors