Revert "Mysql: Link to the MariaDB libs twice." This approach didn't work. This reverts commit ae230d718d5a0a8c7484e8cf22c1fac54b0c1090.