actually, just use SDLs platform detection