Force static linking to libmysqlclient_r.a and fix max symbol not found error #18000

Static link is required to work properly. Overriding CMake value.

The following error can be fixed by use myodbc_max macro
"_max", referenced from:
_proc_parse_enum_set in utility.c.o