Fixed sonar-mysql and sonar-server build problems.