Added conditional inclusion of rpc.h for Windows.