On second thoughts, this should not be submitted upstream - there is simply no cross-platform (at least Linux & OS X) way of using `readlink`, unless there is dependency on `coreutils`. Will just use `inreplace` instead of patching