Fix bug with compatibility memory define/header
4 files changed