and also fix CFLAGS in case of std=c99. Related: RHEL-76323 From-source-git-commit: d4b71c7fc24ba1245a86c41f904b05a18cbe3e15