add missing INIT() to close hook

this caused a crash when the gcc initializer was not called first.