Fix build problem OSX