Only call savefig if running on a Mac.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>