Workaround for MSVC compilers, that fail to properly handle template specializations with constness subtleties.