fix: linker not find constructor and destructor