cmake addition and gcc warning fixes

Ok, next try ...
compiles gmake and cmake on linux64 include MongoDB