Config feature cleanup

Fixing some side effects of #1846 and #1900.
If it's not available it won't be able to link and must therefore be disabled.