Check if a few commands exist, works on OS X.