diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index b61e75f60dea040a503e6391cd395938b7d34269..745e433f3ce086d9ada59cadb5c82db4459fc86a 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4098,14 +4098,13 @@ void LLAppViewer::handleLoginComplete()
 // *TODO - generalize this and move DSO wrangling to a helper class -brad
 void LLAppViewer::loadEventHostModule(S32 listen_port) const
 {
-	std::string dso_name("liblleventhost");
-
+	std::string dso_name =
 #if LL_WINDOWS
-	dso_name += ".dll";
+	    "lleventhost.dll";
 #elif LL_DARWIN
-	dso_name += ".dylib";
+	    "liblleventhost.dylib";
 #else
-	dso_name += ".so";
+	    "liblleventhost.so";
 #endif
 
 	std::string dso_path = gDirUtilp->findFile(dso_name,