fixed bindings generator for new version of cppsharp and cfixed other bugs