Make building as DLL on Windows both optional, and not the default.