Function to get the platform-specific implementation of Platform.
This function is expected to be implemented separately in each platform's source set.
A Platform instance that represents the current platform.