Fix the warning of static library need't ld.