Modify using namespace directive to avoid build error on VC2010.
Add example to set compression mode.