add dll information resources for W32
fix AM_CPPFLAGS vs AM_CFLAGS usage