Fix build with GCC 4.8

GCC 4.8 introduces a warning for unused typedefs, which libv8 triggers,
so we need to turn off error-on-warnings (werror).

This is for the master branch.  3.11 is in another pull request.