fixes to build with newer boost