Add OSX compatibility flags to screenshot code
Add OSX compatibility flags to screenshot code

net-a-porter-mobile/XCTest-Gherkin,net-a-porter-mobile/XCTest-Gherkin,net-a-porter-mobile/XCTest-Gherkin,net-a-porter-mobile/XCTest-Gherkin