Fixed build with DEVICE_POLLING.