Minor fixes of compiler warnings