Fix linker warnings.