Make the realpath lookup work on OS X too.