Fix a couple of compiler warnings