possible fix for visibility attribute on non-gcc compilers