only execute Windows specific code on Windows