os_support: Include io.h instead of direct.h on mingw32ce