JNI Wrapper: Added the two missing API functions + make use of <unordered_map> when C++11 features are enabled.