fixed GCC typedef redefinition issue

It won't disturb us anymore.