define efree function and begin conditionally using myMalloc and myFree
use efree in shell-lib.c
use efree in device IO libraries