Adds win32 support

Added basic win32 support with 2 basic tests. More tests might be needed but it *should* work just fine.