include: mark deprecated things as deprecated
We over-ride this when compiling our own code, though, to avoid triggering deprecation warnings in our own fallback paths. As a side-note, also fix the `include` test to include the correct config.h location.