Updated JNI build scripts to support latest 2.9+ AMD APP SDK. Added failonerror to all exec calls so that Jenkins would stop bad builds from progressing.