tk: enable xft; fix cross build; misc fixes.