Set GC to NULL in default constructor to avoid seg fault on destructor