Default configuration from buildSettings for #27

- gather buildSetting before we set the configuration
- set configuration to the CONFIGURATION build setting if no argument 
  is passed in
- remove determine_configuration