[close #45] Fix order of configuration steps.