Fix headers when building with ft enabled. Thanks to Adrian Reber for the patch!
update platform file