Fix for searchmoves optional arg. Support building on Mac OS 10.9