Fix android java 1.7+

Fixes #775.

Builds fine on ubuntu 13.04 using:
````
oracle-java8-installer - Oracle Java(TM) Development Kit (JDK) 8
````

Final android app is untested so I'm not positive this works.