Fix automated builds