Fix clang compile error

-Wduplicate-decl-specifier is annoyed by multiple const.