cleaned up cmake flags