Fix grad2vs30 to compile on Linux.