Enable tegra optimization for matchTemplate