now compiles in windows, wiii