check for LIBMYSQL_VERSION, if it exists we are linking against the
connector library, otherwise, use MYSQL_SERVER_VERSION as before
Merge branch 'connector-compatability' of https://github.com/monban/mysql2 into connector-compatability