demos library fix and allow Boost 1.50.0