Fix in mem gen
Merge branch 'master' of github.com:osmandapp/OsmAnd-tools