[WIN32] add some common cmake files for windows

as the title says. This is needed for the binary addons.