COUCHDB-1482 - use correct linker flags to build snappy_nif.dll on Windows

- Windows 2008 Server enforces stricter requirements on C runtime dependencies than non-server versions
- Erlang/OTP cc.sh and ld.sh build scripts mix release and debug runtime dependencies in in some circumstances
- this prevents loading the NIF from loading at all
- adding optimisation flags ensures the OTP build does the right thing
Thanks Nick North for identifying this bug.
1 file changed