Fixed an OS X warning and a misplaced parenthesis.