move range/str_lib.c to source