cmake: mysql dep fixes
cmake: configuration stage cleanup