core: fix warning bugs on unused vars introduced by the last commit
Merge branch 'master' into next
fix typo for vsnprintf in config.mk
only turn off some string check functions with _FORTIFY_SOURCE=0 for OSX when USE_SYS_DYN_MEM=yes