correctly set the minimum OS version