Fix some compiler complaints