@IshaanDesai @ajaust Great that you found the issue!
I suppose a more convenient way to solve this problem would be to manually specify the toolset when building boost. We should probably add this to our documentation too. I added this to the Boost section of the dependencies page in the wiki.
./bootstrap.sh --with-toolset=gcc --with-libraries=filesystem,iostreams,log,program_options,system,thread,test --prefix=/some/dir