Enable shared client library build [SERVER-6941]

added option --static and --shared to client SConstruct and modified build system to allow build static and shared client library