It seems wrong to be to use DATE_TIME_DYNAMIC_PROPERTIES (which includes
<define>BOOST_ALL_DYN_LINK and at the same time link to *static* libraries. I
suggest that <lib> in two places above be replaced with <dll>.
Since I don't have msvc around, can somebody test that such change indeed
fixes the problem?