doh - add the warn flags to the correct cflags.