$() is easier to nest and POSIX, which we require in other places.
Originally committed as revision 9634 to svn://svn.ffmpeg.org/ffmpeg/trunk