Fixing global EWF compilation