Use the correct machine triple for windows.
Fix function name shadowing.