Windows support

Depends on https://github.com/deephacks/lmdb/pull/1