Disabled Boost asserts in Release builds by defining BOOST_DISABLE_ASSERTS.
Fix some more warnings.