splilt ngx_tool.h and add src_dir define in Makefile