Fixed bug in ipv4 validation that was incorrectly identifying integers as ips, also fixed windows hosts path