configure: do not override CFLAGS
fix examples Makefile
fix warnings (-std=c89 -D_GNU_SOURCE -pedantic -Wextra)
use #pragma message instead of #warning for MSVC [FORGE #1264]