Fix compiler error in core::any under Apple Clang 5.1

Fix large number of false positive warnings in tests/string.cpp