Get back all stuff needed for 2.6.18 build
And also implement set_nlink() so that main.c builds on 2.6.18