Fix linking with musl libc with asm enabled.