fix LocalUdef prepare issue
correct U:needsPrepare

although nothing seems to depend on it, it may be good to be able to
know for real if a unit needs prepare