[WIN32] changed: use a temp dir for the downloaded deps and use more cmake specific commands and variables.
Merge remote-tracking branch 'wiso/master'

Conflicts:
	CMakeLists.txt