Updated CMake files to work with the latest V8.