Fix for boost compiler error on GCC.
Fix GCC compiler warnings in cml.
Fix a namespace issue and include cml.