well I just changed to an older gcc version and installed
STLPort (which is a better implemention of STL than both GNU libstdc++ and Microsoft one, and is also free software) and it now works
so here's a quick port to Metamod
edit: I removed the 0.8 version. 0.91 version is below (thanks to USAZombie)