Tighten the test for including mathimf.h to be windows specific. Also another experiment in eliminating THROW_ANY