Patching auto-complete for windows