Fixed configure script issue with mysql libs