Move overrideBuiltInFunction to PTB

Signed-off-by: David Brainard <brainard@psych.upenn.edu>