Improves code for weapon prefixs.

Itoa is not part of standard c++ and does not compile in g++.