configure: make --v8-options switch more robust