Update screengrab.c

Quick fix for Mac OS users.