Fix linker dependency