Fixes to support analysis_server_plugin installed on Windows

Also has (commented-out) patch for NREL nested assembly bug.