Fix error with ASM on some platforms