Change build procedure; Build as Mach-O and convert to PE/COFF.
Use relocatable addressing in inline assembly.