Check the whole $PATH for mysql_config

Fixes building in Buildroot