Revert "Fix compiling for PMEM"

This reverts commit 2e615e7e84730db200507fd0fb309f59b3ab9bef.