Revert "BUG-634: Fix JNI bugs"

This reverts commit 03a3489ea9ecb7ab0327e7c264f96302a3b1e773.

Change-Id: I433b338f9d24974e5a58afde6bac31245f2876ce
Signed-off-by: Robert Varga <rovarga@cisco.com>
Revert "Do not build JNI unconditionally"

This reverts commit 1c551a4d5aac27f87ff95e91b4e75d46ebc8905d.

Change-Id: I59535f752a4211b6108503a18511cb46d7f41c8f
Signed-off-by: Robert Varga <rovarga@cisco.com>