- fix wrong use of mklibname - add more compat name for mysql - use macro rather than hardcoded distro name