Compilation issue on Mac