Fix make_curried_n for clang 3.4.

A simple fix to reduce recursive template instantiation, required for clang 3.4 which seems to have a lower max recursion depth.