make mgit work on Solaris 5.10