Add missing dll macros for unit classes.

Refs #9252
Merge branch 'feature/9252_plot_axes_formatting' into develop