Removes `define` from lib/std and replaces it with let bindings.