Add hack for MACOSX