Fixed OSX tools build.