Functions start being available in OTP-20, so to get rid of warnings, a
conditional compilation flag is set there.
The cspan function has no direct equivalent, but can be worked around.
Likely heavier work would be required around its usage where strings are
not handled as lists, but only through 'string' functions. However this
will still cover most cases and get rid of compile-time warnings for
now.