fixed copying of configurations, and enable_host behaviour

Previous copy function would recurse infinitely depending on source->target setup. Updated osx/aslocal/vagrant to work with latest changes.