rework stdc header checks
Merge branch 'jens-mega-patch' of github.com:/tdb/libstatgrab into jens-mega-patch