Change -E into --export-dynamic for portability to mac.