modifications to allow cross-compilation to win32
Merge pull request #1 from duthils/cross-compil

modifications to allow cross-compilation to win32
revert commenting typedef, this is needed (something is wrong on Arch)