Fork hardware/libhardware_legacy for misc fixes.