Put commands in termux_step_pre_configure, termux_step_make and termux_step_make_install in a more logical way.