avoid unused variable warning on non-windows builds