Fixed osx build errors