Build fix for OSX.