Include cmath for RHEL6 build.

Refs #8784
Export declarations for Windows.

Refs #8784
Merge branch 'bugfix/8784_unneeded_headers' into develop