Use -ftype-function-depth instead of -fcontext-stack where required