B: warning fixes
B: use dynamic boost linking on non-win32 platforms, as static linked boost filesystem crashes in the static init of boost::filesystem::path::codecvt