Fix type warning default_port in mongo_globals is now a long
Fix build with --disable-mongo-streams
Merged Pull Request #505

* pull-request/505:
  Fix build with --disable-mongo-streams
  Fix type warning default_port in mongo_globals is now a long