allow cmake 2.6, cap with mysql 5.5
cap with mysql 5.5