Updated CMake scripts for better mysql locatability