upgrade to 3.9.6 & osx builds