Fix symstall for mingw32 and cygwin