gcc 4.6/arm lib requires #include <cstring>