OSX build: Write configuration only after we sure have macports built