modify SConstruct and some boost functions