Added support for osx (disabled asm)