add minimal os dependency check