Fix template in include. remove deprecated ios ndll