Fix link error: duplicated symbols