remove mysql_config's options not compatible with MariaDB

Some options of the program mysql_config are not compatible with MariaDB (they have been removed), use only the options compatible both with MySQL and MariaDB