Merge pull request #1816 from awakecoding/master

Compression, SmartCard and CMake Fixes
libfreerdp-core: fix assignment after memory free.
wfreerdp: port auto reconnection to Windows.
winpr: fix missing link dependencies
Merge pull request #1817 from zhangzl2013/win-auto-reconnect

Win auto reconnect
Merge branch 'master' of github.com:FreeRDP/FreeRDP