Auto package uninstaller

Fix the long path names bug in Windows.