diff --git a/OpenBoard.pro b/OpenBoard.pro
index 0b04032b..3763c01a 100644
--- a/OpenBoard.pro
+++ b/OpenBoard.pro
@@ -161,7 +161,12 @@ macx {
    LIBS += -framework AVFoundation
    LIBS += -framework CoreMedia
    LIBS += -lcrypto
-   LIBS += -lquazip
+   LIBS += -L/usr/local/opt/quazip/lib
+   LIBS += -L/usr/local/opt/ffmpeg/lib
+
+   INCLUDEPATH += /usr/local/opt/openssl/include
+   INCLUDEPATH += /usr/local/opt/ffmpeg/include
+   INCLUDEPATH += /usr/local/opt/quazip/include
 
    CONFIG(release, debug|release):CONFIG += x86_64
    CONFIG(debug, debug|release):CONFIG += x86_64
diff --git a/src/frameworks/UBFileSystemUtils.cpp b/src/frameworks/UBFileSystemUtils.cpp
index b818a452..608478f5 100644
--- a/src/frameworks/UBFileSystemUtils.cpp
+++ b/src/frameworks/UBFileSystemUtils.cpp
@@ -36,7 +36,7 @@
 #include "globals/UBGlobals.h"
 
 THIRD_PARTY_WARNINGS_DISABLE
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
     #include <quazip/quazipfile.h>
 #else
     #include "quazipfile.h"