SPI-specific changes to build against Boost 1.51, also general Boost build update