Add upgrade() call when building DDOX to get the required dependencies. Fixes #366.