add support for checking OS version