Fixing ambiguous types for old GCC compilers

DGtal is fine with gcc4.1 in debug mode