ifdef things for android pmem