Fix dia when run not from $PATH