Fix Windows missing __func__ defines.
include: fix missing extern C decls.