Using realpath on patches. Probably should write my own realpath implementation due to the lack of that binary in some distros