restrict guard to 2.0 and OS X