Made DLL creation optional and added a "Release - DLL" configuration. The Release configuration creates a static library.