make 'ag -C foo' work when compiled with Visual Studio (due to atoi() difference)