cmake: link libmysqlservice.so

We don't support MySQL 5.5.x with CMake!
cmake: test result file must be LF

CRLF was used on Windows but it is not desired.