Make add-in debug work on Mac and Windows.

Changing order of locations to look for XS/MD