Addressing legit warnings No4. clang

- clang 3.4, and 3.5 are not happy with the code on the strictest warning level: -Wall -Wextra -Werror
- The above gcc options are added to makefile.linux, makefile.windows, and CMakeLists.txt.

CI checker becomes tough after this commit.