Added check for libm, which was missing.
Merge pull request #94 from keithj/devel

Added check for libm, which was missing.