updated compiler flags to work with both gcc and clang