fix recent build errors 

fix build errors introduced by changes in mainstream IB which had different changes in BOOSTIO branch