Fix stockfish include for both mac and windows by checking platform