Fix linking failure on Mac OS X <10.4.