Fixed egg discovery on windows

This should fix @kurniliya issue on windows.