proper fix to not erase default cmake flags.