Use real realpath.

Signed-off-by: katlogic <kat@lua.cz>