Removing __bridge cast for OS X