Fix redifinition of __mbstate_t
Remove -Werror flag