Improve DMySQL test and header generated by cmake