Add the OS X code for fetching the default route.

Needs to be cleaned and and tested:
 - how are multiple entries handled?
 - what about non-default routes?
 - v4 vs v6
Clean up the GetDefaultRoute function for Mac.
Fix a bug in the configure script
Merge pull request #1 from nomis52/e1.37-2

E1.37 2