Use iOS or OS X version to conditionally compile for XCTAssertTrue or STAssertTrue.