fix flush error on mpl output
fix i.e. compatibility
glp_set_print_func
glp_get_print_func