fix heimdal (issue 64).