added missing memory.c file and update to mkl_build.sh to include it