Alternatively, you can always install GNU xargs through Homebrew and the GNU findutils package.

Install Homebrew:

ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)

Follow the instructions. Then install findutils:

brew install findutils

This will give you GNU xargs as gxargs, and you can use the syntax you're accustomed to from GNU/Linux. The same goes for other basic commands found in the findutils package such as gfind or glocate or gupdatedb, which have different BSD counterparts on OS X.