build.sh: include workaround for libhardware_legacy