Add check-compiler-flags patch

Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
