fix x87 control for Mac