Update config.py

made platform comparison if/elif/else