Switched to v8 API, fixed a few errors with invalid compat references
Added custom build target to Android makefile. Build with a single command using:
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk obj/local/armeabi/libjpeg.a
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_ABI=armeabi-v7a obj/local/armeabi-v7a/libjpeg.a
More info: http://stackoverflow.com/questions/12260149/libjpeg-turbo-for-android