don't call sw_vers twice

Change-Id: I294aa409509f56a6baf2c7f15848af077ac5380e
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>