fix "no viable conversion from ... to 'bool'"
fix "type 'char' cannot be used prior to '::'"
Merge pull request #318 from joegallo/master

Compilation errors with boost 1.56