Fixes for windows.
Test decompression.
Additional fixes for VS.