In configure add support for mariadb.