C: fix $^X quoting for windows, possible backcompat issue

This changes $^X from perl to the actual used executable.