Fixed 'libhardware_legacy' build error