Revert "Add mongo:: modifier for Linux compilation."

This reverts commit 791452301af9429372fe74fc1dc4ecf66e5043e5.
Fix compilation error on Ubuntu