You absolutely should have knowledge of your target platform and whether it does TCO (and whether it kicks in for your code).
Otherwise, you may decide to just use recursion everywhere and then your stack overflows when your N is bigger than expected.
When in doubt, don't use recursion and don't expect that you get TCO.