Move libmysqlclient detection in configure.ac