altos/lisp: Clean up OS integration bits, add defun