Fixed detection of mysql 5.1 and older versions
added correct detection of bison
fix snmp library detection for centos
add concat function to database driver (reduce count of USE_PGSQL/USE_MYSQL)