mod_v8: Improved build for some version of gcc and (hopefully) fixed build on OSX