Fix Windows Python path not found if it contains spaces

Avoids blocking warning "Failed to find Python installation directory"
on Windows when Python is installed in path containing spaces.