build_system: up the template recursion limit on clang, gcc and possibly intel.
trigonometric_series: implement serialization.