initial port to mariadb
gcc compatible mariadb build