Modify code so that it works on Linux.
Modify code so that it works on Linux.