fix some error in configure cc resources.