Fix xbianonpi/xbian#578.