Fixes first-time creation of a hostonlyifs on both Windows and Linux.