changed cmake flags to gcc only