isNative works with new compiler, get rid of hardcoded native lib name dependency