Merge pull request #130 from sergiud/cmake-warning-fix

cmake: fixed clang warning propagation to gcc