effects: fix compile errors in effects/core