Revert "call update_all_fptrs earlier, to avoid some redundant compilation"

This reverts commit d30356863b838d13314212ab315b52b2b1a50f02.

This commit breaks linux error handling. For example:
julia> f()=f();f()
Segmentation fault (core dumped)
remove accidental code addition from testing