Windows 8 and 2012 fixes

Fix chef client installation on Windows 8 (and 2012).