correction of adding -Werror option
Merge pull request #572 from ifilippov/master

correction of adding -Werror option