Fix minor compile-time warnings