[IOMultiplexerV2] updated configure.ac to link against c-ares if required