Trying to only expose mongo lib for apple.
Removing modern c++ for safety.