Switch to our own native and libhardware_legacy