issue #3935 Fix a bug about extname to map ccloader.