Use GNU readlink on OS X.