build system: Use the libs provided by `mysql_config' to check for the lib itself.