fixed jnilib issues with gradle/java8 the worst possible way..