Include format when using type SWF, fix native compile