Fix DLL export declarations.

Refs #9319