[FIX] Handle tail calls correctly in built in higher-order functions.
Merge pull request #753 from LeoWoerteler/built-in-tco

[FIX] Handle tail calls correctly in built in higher-order functions.