Don't build with -Werror

This fixes building with mingw, where the visibility attributes
aren't supported.
Merge pull request #8 from mstorsjo/remove-werror

Don't build with -Werror