reduce libary size by passing -fvisibility-inlines-hidden - closes #1832 - refs #1826