Changes mongodb build and condition, fixes #2868