Do not use full CFLAGS to build codec-cfg, they are unnecessary.