Add feature detection for certain dependencies