Fix CMake for PNG (with the quotation mark, the "optimized/debug" will be misinterpreted).
Merge pull request #947 from yangyanli/fix_cmake_png

Fix CMake for PNG
Fix compiling on VS2012.