compiles with GCC 4.6 and Boost 1.54