Fix name mangling in assembler code across Darwin and Linux toolchains