suppress warnings with Cygwin

Use '-std=gnu89' instead of '-std=c89'.
Merge pull request #318 from k-takata/topic/suppress-cygwin-warnings

suppress warnings with Cygwin