SERVER-6514 Re-add support for building the C++ driver shared library