IN and OUT are already defined on windows, replace with T_IN and T_OUT

Issue #334