Fix a regression with gcc-4.8.2

gcc-4.8.2 has a regression with -Werror which makes NES not compiling.
So, if gcc-4.8.2 is detected, then disable -Werror.