monkey patch for boost date_time dependency
fix linking issue
fix test on windows
fix loading of debug dlls on windows
fix some more linking issues