changed Darwin specific commands to run in only Darwin (fixes #1)