fix compile error in some macros.
Merge pull request #15 from 0x0c/fix_macro

fix compile error in some macros.