fix of build all script for building dbgmem: