Some terminfo files are hardlinks. Move post_massage code that removes them to termux_step_post_make_install.