add swap16 swap32 on windows. and commit prev changes.