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 3.11 branch.  master is in another pull request.