1. fix gcc 3.4 link error.
2. fix mingw build issue when enable asm