
* Windows doesn't want the macro _JNI_IMPORT_OR_EXPORT_ to be defined in the function definition. It fails to compile with the following error - "definition of dllimport function not allowed". * However, Linux needs it. Hence, we're going to add this macro based on the OS. * Also, we'll be compiling the `hdfs` target as an object library so that we can avoid linking to `jvm` library for `get_jni_test` target.