Removed linking with dynamic and forced static compilation, verified it's actually making correct system calls (sorry, stupid mistake before), updated assembly file to change to work w/ default assembler version of OS X, and modified a few constants to compile correctly on OS X.
Tested on Linux x86_64 and mac x86_64 - i386 support for OS X doesn't work, will fix in subsequent patch however (or disable it).
Removed linking with dynamic and forced static compilation, verified it's actually making correct system calls (sorry, stupid mistake before), updated assembly file to change to work w/ default assembler version of OS X, and modified a few constants to compile correctly on OS X.
Tested on Linux x86_64 and mac x86_64 - i386 support for OS X doesn't work, will fix in subsequent patch however (or disable it).