fix cfg&plugin for build correctly on github