LevelDB port to minGW