mysql galera: couple of fixes for mysql-galera building on el6