Fixed up build system for windows, made bonjour optional on windows.
Initial C++ exception support.