modify openwrt-g++ to g++
separate threadpool to a class