Include cmath for RHEL6 build.

Refs #8784
Export declarations for Windows.

Refs #8784