Platform fix: `wc -L` doesn't exist on OSX