Windows XP compatibility fix: RegDeleteTree() does not exist until Vista, so we use SHDeleteKey() instead. It exists since Win2k and provides the same functionality.