Fix for Yosemite

Need to add a NULL for execv argument for Yosemite. Otherwise a "Bad address" error is raised.