Don't override CFLAGS. Use cmake commands instead to specify release build