fix travis
move boost config in CMakefile. refactor. fix clone function in ast