* fixed compilation on Mac