rename memory.h files for compiling error in Android.