boost exception issue on macos