diff --git a/CMakeLists.txt b/CMakeLists.txt
index b7123f23d7..d350fdeb2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -524,11 +524,16 @@ else()
set(LZO lzo2)
endif()
-if(ANDROID)
+if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT ANDROID)
+ check_lib(PNG png png.h QUIET)
+endif()
+if (PNG_FOUND)
+ message("Using shared libpng")
+else()
message("Using static libpng from Externals")
add_subdirectory(Externals/libpng)
include_directories(Externals/libpng)
- set(PNG libpng)
+ set(PNG png)
endif()
if(OPENAL_FOUND)
diff --git a/Externals/wxWidgets3/CMakeLists.txt b/Externals/wxWidgets3/CMakeLists.txt
index 1ce7a73418..6629d0865e 100644
--- a/Externals/wxWidgets3/CMakeLists.txt
+++ b/Externals/wxWidgets3/CMakeLists.txt
@@ -868,8 +868,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
${SRCS_GENERICOSX}
${SRCS_OSX}
${SRCS_UNIX})
- include_directories(../libpng)
- add_subdirectory(../libpng ../libpng)
set(LIBS
png
iconv
diff --git a/Source/Android/res/layout/gamelist_folderbrowser_list.xml b/Source/Android/res/layout/gamelist_folderbrowser_list_item.xml
similarity index 100%
rename from Source/Android/res/layout/gamelist_folderbrowser_list.xml
rename to Source/Android/res/layout/gamelist_folderbrowser_list_item.xml
diff --git a/Source/Android/res/menu/emuwindow_overlay.xml b/Source/Android/res/menu/emuwindow_overlay.xml
index d1c480c284..dc875203e8 100644
--- a/Source/Android/res/menu/emuwindow_overlay.xml
+++ b/Source/Android/res/menu/emuwindow_overlay.xml
@@ -1,7 +1,11 @@