Fix linkage error with --disable-cwc

When configuring the project without CWC, there is an error at link time, because the de-init is not enclosed in #if #endif preprocessor block