[Index] Fix on OS X