based on rsobik/boost.sh