Fix some simple compiler warnings