Changes to accommodate a recent version of Swift

Added swift.conf file
Changed return code expectation for ring builder