remove g++ warning on Linux host