Enabling the FT code breaks compilation (again). This series
tries to fix the compiler errors. This is again only fixing
the compiler errors without any warranty that the result
might actually support FT again.
Follow-up of 552c9ca5a080b4293912708959cef717623e13ab. This patch
implements the necessary changes in mentioned commit in the FT code.