Resolve Darwin issues with cmssw-tool-conf

The following fixes several minor issues and brings backs `cmssw-tool-conf` for Darwin.