change dir while boost