Fix to broken extension installs

Turns out recursion isn't always so awesome.