Added missing "import platform" statement

Added missing "import platform" statement.