asm: Fix C++ compilation