Alvin bug 3

commits to fix alvins bugs under linux and xplor nih < 2.35