Attempt to get ExternalStreamHandler compiling under qt5.