Added version detection on osx for python, java, git and svn