Fix SoundEffect constructor for non-Desktop platforms