Adds groundwork for platform checks and implements checking and conditional definition of exp10

exp10 is only available on systems with GNU-based libraries (i.e., not BSD or Mac OS X). It is semantically equivalent to pow(10.0, <value>), and is defined as such if exp10 is not found.

Completes #30
Completed #39