fix visibility warning on cygwin, re #13