Fixes #16 Fixes #17 MSVC++ doesn't like string iterators dereferencing