get rid of unused imports for `GCC` and `Clang`