Merge "Fix mac build"
diff --git a/Makefile.common b/Makefile.common
index cbb22e5..882d638 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -683,7 +683,7 @@
 
 
 ## another for 64-bit, see note in emulator64-common
-ifeq ($(HOST_OS),linux)
+ifneq ($(filter linux darwin,$(HOST_OS)),)
   ifneq ($(BUILD_STANDALONE_EMULATOR),true)
     $(call start-emulator-library, emulator64-libjpeg)
     LOCAL_CFLAGS += $(common_LOCAL_CFLAGS) -m64