MPRD: windows build: make MAC determination more robust