Platform Compiler Fixes

Also corrected the Travis-CI build with external boost use changes
If we remove -Werror from the unit and integration tests, should these types of changes be reverted as well.