Added necessary adjustments to compile a native windows binary.