Fix for configuring different eo heap modes