added includes

Compiling on linux with gcc 4.7.3 fails for me without these imports. I guess string.h might be a linux-only thing so I wrapped it to prevent errors on windows. stdexcept on the other hadn should be everywhere. 

This needs testing on other OS before getting pulled, thanks!