ErrNotSupportedPlatform is undefined define it