I added "-lglut -lplibjs" on line 2240 of the configure script. It compiled and it runs, but there is no sound or music when I play. The cursor does not hide, I don't know if that's intended.