fix Issue 13223 - Cannot deduce argument for array template parameters

This is a quick hack to support issue case.