Added additional build configuration so that DLLs can be built using either static/shared dependencies.