includes for mingw
tweak symbol visibility