Update __init__.py

Fix errors concerning platform module