Fix as/driver.c realpath bug