enable libhardware_legacy

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>