Made uri.cpp compile with msvc 2012