Raise ImportError if platform isn't supported