Fixed issues with Werror for CFLAGS and CXXFLAGS
adding git ignore