Add getLatestInstance() to Studio. Remove Java 6 references in OSX build.