diff --git a/CMakeLists.txt b/CMakeLists.txt
index 888f65e8..50198586 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -780,7 +780,7 @@ endif()
 # top of the build tree rather than in hard-to-find leaf directories. 
 SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
 SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
-SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
+#SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
 
 SET(LWS_INSTALL_PATH "${CMAKE_INSTALL_PREFIX}")
 
@@ -1853,7 +1853,7 @@ endif(LWS_WITH_LIBEV)
 if (LWS_WITH_LIBUV)
 	if (NOT LIBUV_FOUND)
 		find_path(LIBUV_INCLUDE_DIRS NAMES uv.h)
-		find_library(LIBUV_LIBRARIES NAMES uv)
+		find_library(LIBUV_LIBRARIES NAMES uv_a)
 		if(LIBUV_INCLUDE_DIRS AND LIBUV_LIBRARIES)
 			set(LIBUV_FOUND 1)
 		endif()
