Moved version number into version.h to make upgrading easier.
Added additional build configuration so that DLLs can be built using either static/shared dependencies.