Fix Mac build when Java for OS X Dev not installed
Fix Mac build when Java for OS X Dev not installed

CMake 2.8.x doesn't find jni.h unless the (deprecated) Java for OS X
Developer Package is installed.  GCC 5 from MacPorts actually includes
its own version of jni.h, so we could just set JAVA_INCLUDE_PATH,
JAVA_INCLUDE_PATH2, and JAVA_AWT_INCLUDE_PATH to dummy values for the
official build.  However, the build would still fail when using other
compilers.  The best approach is to set JAVA_INCLUDE_PATH and
JAVA_INCLUDE_PATH2 to the correct locations in the Oracle JDK.

libjpeg-turbo/buildscripts