Add Boost version check to config.hpp

This adds a compile-time check to config.hpp which ensures
that the miniumum supported Boost version (1.48) is found.