Added separate cmd line invocation for OS X.