fix few GCC compiler warnings