GCC warnings fixed