Use CXX not CC for linking.