Fixing compiler warnings under Linux with GCC 4.8 or greater