Fix __serial.h for both Win32 and non-Win32