Fix Boost version to 1.52
Remove type_erasure includes
Fix compiler warning