added small fix for error-free compilation on MACs.