Making mongoose use native C++ parser