MSVS2013&WinSDK8.1

Fixed compilation and linkage on Win with MSVS2013 and WinSDK8.1