Remove warning on APPLE platform which doesn't exist on gcc 4.2