On Mac OS X, the JNI library $prefix/lib/libavi_jni.dylib
On Mac OS X, the build command has -lcurses
On Mac OS X, the build command includes headers from JavaVM.framework
Remove header locations we don't need yet
On Mac OS X, the build command specifies -dynamiclib
On Linux, the JNI library is libavi_jni.so
Remove possible-header-locations
Use -shared instead of -dynamiclib
Linux requires -ltinfo
On Mac OS X, don't use -ltinfo
Use -fPIC when building JNI on Linux.
Push get-property into install-commands
Linux uses JNI headers from the java.home path
Use the right arch-specific JNI headers on Linux