Fix all compile warnings

Those were not problematic but annoying.