Add -DWORKAROUND_BUG_10194508 cflag

This should fix screenshots troubles.