fix EXPORT_ALL in asm mode