fix platform check in basic_runner.py