You have to set configuration options manually when you use the Actions->Compile PHP, you can make it matches the configuration options used by "Build matching PHP".
If there is an option in Easy Apache for Mail headers option, you should update it with EasyApache, then "Build matching PHP".