Fix compiler complaints