[d3d9] Only compile on Windows.