Fix build on OS X.

Fixes #1355 

A blank arg still gets passed to the command instead of being ignored like it is on Windows.