Adding Windows native code

Added code to handle natives for 32 and 64 bit windows.