How about introducing a factory method to XWalkContentRendererClient? so that ifdefs are encapsulated there