Fixing MySQL Adapter linking issues