Fix compile warnings as errors