improve detection for Packrat library changes on Windows