FEAT: added ***-main support to non-Windows platforms.
FIX: added direct call to ***-dll-entry-point for JNI binding (until ELF emitter handles it).