Better workaround for crash on buggy Marmalade STL when compiled with clang