Fix error on FM compilation (libhardware_legacy)