Improve the portability of windows data types