rdmd: Consider PATHEXT on Windows when trying to find dmd