compilation on MACOSX