Made receive work for speeds higher than 9600 on OS X (tested on Yosemite 10.10.1)