ext: Disable extension if a dependency isn't of the correct version

Fixes #657