PROTON-194: Update for compatibility with cmake 2.8.8 (which has broken Java version detection)

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/jni-binding@1440906 13f79535-47bb-0310-9956-ffa450edef68