Close GH-3: Fixed OSX compile issue.