Fix build script for ttk-core