Switch to libnative