Include io-layer.h rather than windows.h directly.