fix some build warnings , get rid of mate-conf