Fix build on hi3535.
Fix build on hi3535.

It seems that Synology's hi3535 toolchain doesn't fully implement C++11.

Specifically, it does not provide the deque::erase(const_iterator)
specialization.

meganz/sdk,meganz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk