Fixed g++ -Werror related build error