Fixed a cmake flie to work properly on Windows

Instead of assuming that the system is installed on C drive and that it's either Windows 7 or Windows Vista, just use `%APPDATA%` environment variable, which will work for all drives and other versions of Windows.