helper.cpp: Remove STL dependency