Fix for mac packaging