Fixed some improper macros in Erorhandling.hpp, and made small changes to
the jamfiles for the msvc build

Most of this commit is for MSVC_build, and I mistakenly was on the wrong
branch. The branches are very close, so I'm going to merge them to get
the changes here into msvc_build.