asm libraries and associated things; working on Linux and OS X