remove extra tokens after endif for WIN32 conditionals