Get rid of dependence of boost