Fixed compile error when USE_GC is enable