build: fix g++ 4.8 build, disable -Werror