Fix prefix to be absolute.