Revert "fix "type 'char' cannot be used prior to '::'""

This reverts commit 38557ee63273dcdef22b136c5f424802c7ff6e03.
Revert "fix "no viable conversion from ... to 'bool'""

This reverts commit df9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07.
#if guards for boost 1.56 compatibility
ignore dylib files

which makes the build gitignore clean on my mac
Merge pull request #319 from joegallo/master

Compilation errors with boost 1.56 (a second try)