fix mingw build issue when enable asm