OSX brew fixes
With the changes in the branch, the code compiles on OSX with the lates XCode and passes the tests. It uses boost installed with homebrew, but should also work with other installations of boost.
IAP GITLAB
With the changes in the branch, the code compiles on OSX with the lates XCode and passes the tests. It uses boost installed with homebrew, but should also work with other installations of boost.