Restrict valid OS to certain versions