Fix sound recording in iOS8